package com.feeyo.groundservice.recordnfc.model

/**
 *作者：QLH on 2019-03-31
 *描述：
 */

/**
{
"uid": 1000,
"truename": "王海淼",
"uno": "",
"nfc": ""
}
 */

data class NfcUserBO(
    val truename: String?,//真实姓名
    val uid: String,
    val uno: String?,
    val nfc: String?,//nfc key
)

/**
{
"id": 54,
"title": "皖A001",
"nfcs": "1212"
}
 * **/

data class NfcCarBO(
    val id: String,//车辆id
    val title: String?,//车牌号
    val nfcs: String?//nfc key
)

/**
 * {
 *   "user": [],
 *   "car": [
 *     {
 *       "id": "1",
 *       "title": "京A001"
 *     }
 *   ],
 *   "parking": []
 * }
 * **/
data class MixNfcTypeBO(
    val user: List<NfcUserBO>?,//人
    val car: List<NfcCarBO>?,//车
    val parking:List<ParkingNfcNodeBO>?//机位
)




/**任务---机位 登机口---nfc**/
data class ParkingNfcNodeBO(
    val id: Int,
    val category: Int,//0不限 1机位 2登机口 @see AttachResourceType
    val iata: String,
    val nfc: String,
    val title: String,
    val long_id:String,//任务id
    val nfc_type:String,
    val username:String,//录入人
    val taskname:String?,//任务名称
    val updated_time:Long
)


